#pragma once
#include "Movement.h"
class BackDash : public Movement
{
public:
	BackDash();
	virtual ~BackDash();

	/**********************************************************/
	// Interface:
	//	- virtual functions for children classes to override
	//	virtual void	Update(float elapsedTime)		override;
	//	virtual void	Render(void)					override;

	//	virtual SGD::Rectangle GetRect(void)	const			override;
	virtual int		GetType(void)	const			override	{ return MOVE_BACKDASH; }
	//	virtual void	HandleCollision(const GameObject* pOther)	override;

	//accessors
	int GetSpeedIncrease(void) const { return m_iSpeedIncrease; }
	bool GetBackDashing() const { return m_bBackDashing; }

	//mutators
	void SetSpeedIncrease(int speed) { m_iSpeedIncrease = speed; }
	void SetBackDashing(bool bdashing) { m_bBackDashing = bdashing; }

private:
	int m_iSpeedIncrease = -1200;
	bool m_bBackDashing = false;

};

